package info.wangyuan.agent.entity.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import info.wangyuan.agent.valid.ValidName;
import lombok.*;

import java.io.Serial;
import java.io.Serializable;

/**
 * 模型配置实体类
 *
 * @author Albert
 * @since 2025-07-10 02:24:44
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = true)
@TableName(value = "tb_system_prompts", autoResultMap = true)
public class SystemPrompts extends BaseEntity implements Serializable {
    @Serial
    private static final long serialVersionUID = 1L;

    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     * 系统提示词名称
     */
    @ValidName
    private String title;

    /**
     * 内容
     */
    private String SystemPrompt;

    /**
     * 使用状态
     */
    private Boolean status;
}
